package com.i2works.smartluolong.manage.service.admin;

import com.i2works.smartluolong.manage.entity.admin.AdminOrgDO;
import com.i2works.smartluolong.manage.entity.admin.AdminOrgQuery;
import com.i2works.smartluolong.utils.basecommon.BaseCommonService;
import com.i2works.smartluolong.utils.exception.ServiceException;

import java.util.List;

/**
 * 管理员组织架构业务层接口
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/3/26 15:27
 */

public interface IAdminOrgService extends BaseCommonService<AdminOrgQuery, AdminOrgDO> {
    /**
     * 查询组织架构树
     */
    List<AdminOrgDO> queryTreeList(AdminOrgQuery query) throws ServiceException;

    /**
     * 查询组织架构下拉菜单
     */
    List<AdminOrgDO> querySelect(AdminOrgQuery query) throws ServiceException;

}
